projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67c9f58
)
(occur-mode): Add font-lock-defontify to change-major-mode-hook.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 10 Sep 2002 16:44:17 +0000
(16:44 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 10 Sep 2002 16:44:17 +0000
(16:44 +0000)
lisp/replace.el
patch
|
blob
|
history
diff --git
a/lisp/replace.el
b/lisp/replace.el
index 449d47e09b88af28e8aef3099cd6c127671a165d..544f10ada91dfa8622b296a83d83b9a3b77017c9 100644
(file)
--- a/
lisp/replace.el
+++ b/
lisp/replace.el
@@
-489,6
+489,7
@@
Alternatively, click \\[occur-mode-mouse-goto] on an item to go to it.
(setq mode-name "Occur")
(set (make-local-variable 'revert-buffer-function) 'occur-revert-function)
(make-local-variable 'occur-revert-arguments)
+ (add-hook 'change-major-mode-hook 'font-lock-defontify nil t)
(run-hooks 'occur-mode-hook))
(defun occur-revert-function (ignore1 ignore2)